import React,{Component} from 'react';
import {connect}   from 'react-redux'
import { Layout,message }  from 'antd';
import {Switch,Route,Redirect} from 'react-router-dom'


import "./home.less"




class Home extends Component {
    constructor(props){
        super(props)
        this.state={
             selCode:6882389
        }
        this.getCodefunc=this.getCodefunc.bind(this)
    }
    componentDidMount=()=>{
        console.log(this.props.login.sid,"sid")
    }
    getCodefunc(res){
        message.success(res)
    }
    render(){
        const {selCode}=this.state
        const props=this.props;
        const {sid} =this.props.login
        return(
            <Layout className="tn-main-view-layout" style={{height:"100%"}}>
              s
          </Layout>
        )
    }
}

export default connect(state=>state)(Home);